package com.mmsoft.findertalk.entity;

import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
public class MessageUser extends EntityBase{
    private int id;
    private int conversationId;
    private int conversationRoomId;
    private int userFromId;
    private int userToId;
    private String msg;
    
    //AUXILIARES
    private Conversation conversation;
    private Room room;
    private User userFrom;
    private User userTo;
    
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getConversationId() {
        return conversationId;
    }

    public void setConversationId(int conversationId) {
        this.conversationId = conversationId;
    }

    public int getConversationRoomId() {
        return conversationRoomId;
    }

    public void setConversationRoomId(int conversationRoomId) {
        this.conversationRoomId = conversationRoomId;
    }

    public int getUserFromId() {
        return userFromId;
    }

    public void setUserFromId(int userFromId) {
        this.userFromId = userFromId;
    }

    public int getUserToId() {
        return userToId;
    }

    public void setUserToId(int userToId) {
        this.userToId = userToId;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Conversation getConversation() {
        return conversation;
    }

    public void setConversation(Conversation conversation) {
        this.conversation = conversation;
    }

    public Room getRoom() {
        return room;
    }

    public void setRoom(Room room) {
        this.room = room;
    }

    public User getUserFrom() {
        return userFrom;
    }

    public void setUserFrom(User userFrom) {
        this.userFrom = userFrom;
    }

    public User getUserTo() {
        return userTo;
    }

    public void setUserTo(User userTo) {
        this.userTo = userTo;
    }

    
    
}
